package com.snowy.hidden.user.domain.model;


import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 小程序用户信息(AppletUser)表实体类
 *
 * @author h
 * @since 2025-10-21 17:17:15
 */
@Data
@TableName("tb_applet_user")
@ApiModel(value = "小程序用户信息", description = "小程序用户信息")
public class AppletUser implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "ID")
    @TableId(type = IdType.ASSIGN_ID)
    private String userId;

    @ApiModelProperty(value = "版本号")
    @Version
    private Integer version;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "openId")
    private String openId;

    @ApiModelProperty(value = "IP地址")
    private String ip;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "头像")
    private String headImg;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "区")
    private String district;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "性别0=未知1=男2=女")
    private Integer gender;

    @ApiModelProperty(value = "组织机构ID")
    private String orgId;

    @ApiModelProperty(value = "组织机构名称")
    private String orgName;

    @ApiModelProperty(value = "岗位名称")
    private String postName;

    @ApiModelProperty(value = "是否内部账号 0=否1=是")
    private Integer innerAccount;

    @ApiModelProperty(value = "平台用户ID")
    private String platformUserId;

}
